﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Background.Web.Controllers
{
    /// <summary>
    /// 登陆事件
    /// </summary>
    public class LogOnEvent
    {

        /// <summary>
        /// 登陆后的事件
        /// </summary>
        public static event Action LogOnAfter;

        /// <summary>
        /// 触发RegisterAfter事件(在本程序集中去触发）
        /// </summary>
        internal static void OnLogOnAfter()
        {
            if (LogOnAfter != null)
            {
                LogOnAfter();
            }
        }

    }
}
